package org.shoukaiseki.common.domain;

import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * 用于 syncAction 调用时候的参数
 * 获取详情的参数,所以使用该类代替无参数
 **/
public class DetailParam {

    @NotNull(message = "id 不能为空")
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
